package com.zzyl.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
  
@Data
@ApiModel(description = "护理项目实体")  
public class NursingProject extends BaseEntity {
  

    @ApiModelProperty(value = "编号")
    private Long id;  
  

    @ApiModelProperty(value = "名称")
    private String name;  
  

    @ApiModelProperty(value = "排序号")
    private Integer orderNo;  
  

    @ApiModelProperty(value = "单位")
    private String unit;  
  

    @ApiModelProperty(value = "价格")
    private BigDecimal price;  
  

    @ApiModelProperty(value = "图片URL")
    private String image;  
  

    @ApiModelProperty(value = "护理要求")
    private String nursingRequirement;  
  

    @ApiModelProperty(value = "状态（0：禁用，1：启用）")
    private Integer status = 1;  
  

    @ApiModelProperty(value = "创建人")
    private Long createBy;
  

    @ApiModelProperty(value = "更新人")
    private Long updateBy;
  

    @ApiModelProperty(value = "备注")
    private String remark;  
  

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
  

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
  
    // Getters and Setters  
}